<?php
if(!defined("IICCMS")) exit("Access Denied");
class IndexAction extends BaseAction
{
	public function _initialize() {
		parent::_initialize();
	}
    public function index(){
    	$this->display();
    }
	
    /**
       *页面跳转
       *@date 2011-7-22
       *@time 上午09:09:15
       */
    function jump() {
    	//页面跳转
    	$url=mydecode($_GET['url']);
		if(strpos($url,'||')){
			$url=explode('||',$url);
			$url['id']=$url['1'];
			parent::clickorshow($url,1);
			$url=$url['0'];
		}
		redirect($url);
    }//end jump
    
    /**
    +----------------------------------------------------------
    * 探针模式
    +----------------------------------------------------------
    */
    public function checkEnv()
    {
        load('pointer',THINK_PATH.'/Tpl/Autoindex');//载入探针函数
        $env_table = check_env();//根据当前函数获取当前环境
        echo $env_table;
    }
}
?>